<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <title>商家详情</title>
    <link rel="stylesheet" href="../../css/amazeui.min.css">
    <link rel="stylesheet" href="css/app.css">
    <style>
    	body{
    		
    	}
    	.am-u-sm-12{border-bottom:1px solid #EDEDED;padding:10px;}
    </style>
</head>
<body>


<div id='header' class="am-g am-topbar-fixed-top" >
	<div  onclick="api.closeWin();"  class="am-u-sm-2" style="margin-top:12px;padding-left: 17px">
		<img  src="images/arr-l.png" style="height:14px;height: 18px;"/>
	</div> 
	<div class="am-u-sm-9 til am-text-truncate" style="margin-top:13px;text-align:center;">
		<h1 id="topbartitle"></h1>
	</div>
	<div class="am-u-sm-1" style="font-size: 20px;margin-top:10px;color:white;text-align:center;">

   </div>
</div>



<div class="am-g" style="margin-top:50px">

	<div class="am-u-sm-12">
		电话：<span id="tel"></span>  
	</div>
	<div class="am-u-sm-12">
		地址：<span id="address"></span> 
	</div>
	
</div>




	
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript">

  
   var  data;   
   apiready=function(){
           data=api.pageParam.data;
          
           $api.text($api.byId('topbartitle'), data.name);
           $api.text($api.byId('tel'), data.tel);
           $api.text($api.byId('address'), data.address);
          
   };
   
	
	
	
	
	
	
</script>
</html>